Delay

Here, we look at the DelayNode in the Web Audio API. We give four examples;
  1. Comb filter: simple summing of a source and a delayed copy to produce comb filtering
  2. Vibrato: implementation of a Vibrato effect, by modulating a delay line with a low frequency oscillator
  3. Feedback delay: basic delay with feedback. The source is a short burst of a 2kHz tone
  4. Karplus-Strong: the Karplus-Strong algorithm for producing the sound of a plucked string. This also demonstrates a limitation of the DelayNode when used in a feedback loop.
Code examples correspond to examples from Chapter 10 the book 'Working with the Web Audio API'. Feel free to contact me at joshua.reiss@qmul.ac.uk